package com.heihei.entity.son;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.heihei.entity.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 歌曲表
 * </p>
 *
 * @author duanhengfei
 * @since 2021-11-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_son_song")
public class SonSongEntity extends BaseEntity<SonSongEntity> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "歌曲名称")
    private String songName;

    @ApiModelProperty(value = "歌手id")
    private String singerId;

    @ApiModelProperty(value = "相对路径")
    private String url;

    @ApiModelProperty(value = "相对路径")
    private String imgUrl;

    @Override
    protected Serializable pkVal() {
        return this.getId();
    }

}
